package com.hoshiibuy.sku.feign.hystrix;

import com.hoshiibuy.brandcategory.feign.CompanyService;
import com.hoshiibuy.common.rpc.Response;
import com.hoshiibuy.sku.feign.CompanyService;

/**
 * @author yl
 * @title: HystrixCompanyFeignFallback
 * @projectName hoshiibuy
 * @description: 公司服务熔断
 * @date 2019/4/23
 */
public class HystrixCompanyFeignFallback implements CompanyService {


    @Override
    public Response getById(Long id) {
        return Response.failed("查询公司信息失败");
    }
}
